package com.hzw.saas.service.old.storage.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源群组分享关联表
 * </p>
 *
 * @author zzl
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_group_resource")
public class GroupResource implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String refId;

    /**
     * 群组ID
     */
    private String groupId;

    /**
     * 资源ID
     */
    private String fileId;

    /**
     * 分享时间
     */
    private Date shareDate;


}
